package com.hotel.project.usercenter.service.impl;

import com.hotel.project.usercenter.dao.IntegrationDao;
import com.hotel.project.usercenter.domain.Integration;
import com.hotel.project.usercenter.service.IntegrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author William
 * @create 2022-04-14 9:39
 */
@Service
public class IntegrationServiceImpl implements IntegrationService {

    @Autowired
    private IntegrationDao integrationDao;

    @Override
    public List<Integration> findByUserId(Long userId) {
        return integrationDao.findByUserId(userId);
    }
}
